package GameMain.Model
{
	public class OwnPlayer extends Player
	{
		
		private var _callCameraFunction:Function = new Function;
		private var _entityID_Log:int = 0
		
		
		public function OwnPlayer()
		{
			super();
		}
		
		public function setCameraFun(fun:Function):void
		{
			this._callCameraFunction = fun;
		}
		
		override public function setPosition(_x:Number, _y:Number=0):void
		{
			super.setPosition(_x,_y);
			this._callCameraFunction(this.x,this.y,this._face);
		}
		
		public function get face():int
		{
			return this._face;
		}
	}
}